<?php

class WSB_View_Helper_UrlPath
{
    public function urlPath($path)
    {
		$pathTokens = WSB_Div::csvToArray($path, DIRECTORY_SEPARATOR);
		$pathTokens = array_map('urlencode',$pathTokens);
        return implode('/',$pathTokens);
    }
}
